/*    */ package com.newcrm.bean;
/*    */ 
/*    */ public class QisoukeActivationCode
/*    */ {
/*  6 */   public String sn = null;
/*    */ 
/*  9 */   public int userNum = 0;
/*    */ 
/* 12 */   public String authUsers = null;
/*    */ 
/*    */   public boolean hasSearhAuth(String userId)
/*    */   {
/* 21 */     if ((userId == null) || (userId.trim().length() == 0)) {
/* 22 */       return false;
/*    */     }
/*    */ 
/* 25 */     if ((this.authUsers == null) || (this.authUsers.trim().length() == 0)) {
/* 26 */       return false;
/*    */     }
/*    */ 
/* 29 */     for (String id : this.authUsers.split(",")) {
/* 30 */       if (userId.equals(id)) {
/* 31 */         return true;
/*    */       }
/*    */     }
/*    */ 
/* 35 */     return false;
/*    */   }
/*    */ }

/* Location:           C:\E\referenceProject\CRM参考\qikebao\WEB-INF\lib\qikebao.jar
 * Qualified Name:     com.newcrm.bean.QisoukeActivationCode
 * JD-Core Version:    0.6.1
 */